package com.lgh.springframework.aop;

/**
 * ******************************************************
 *
 * @author liugh9
 * @version 1.0
 * @classname ClassFilter
 * @description
 * @date 2023/03/06 21:05
 * <p>
 * ******************************************************
 */
public interface ClassFilter {

    /**
     * Should the pointcut apply to the given interface or target class?
     * @param clazz the candidate target class
     * @return whether the advice should apply to the given target class
     */
    boolean matches(Class<?> clazz);
}
